-
Notifications
You must be signed in to change notification settings - Fork 4.2k
BOM-2781: New codemods on OpenedX (4) #28779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4101222 to
10fbced
Compare
| @@ -0,0 +1,23 @@ | |||
| # Generated by Django 2.2.24 on 2021-09-23 09:35 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we need to edit the previous migrations anyway, it feels like we should be able to do it in a way that renders this migration unnecessary. Just update the field definitions in the previous migrations to match the new verisons here, I don't think it should produce any actual database changes.
| @@ -0,0 +1,18 @@ | |||
| # Generated by Django 2.2.24 on 2021-09-23 09:35 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, can we avoid this new migration?
| from django.test.utils import override_settings | ||
| from django.urls import reverse | ||
| from django.utils.http import urlquote_plus | ||
| from urllib.parse import quote_plus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should move for isort compliance.
| from django.contrib import auth | ||
| from django.template.loader import render_to_string | ||
| from django.utils.http import urlquote_plus | ||
| from urllib.parse import quote_plus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isort again.
| @@ -0,0 +1,23 @@ | |||
| # Generated by Django 2.2.24 on 2021-09-23 09:35 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we avoid creating this one also?
d7b8780 to
db3ab9b
Compare
db3ab9b to
3b6269a
Compare
|
Your PR has finished running tests. There were no failures. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
<!--
🍁🍁
🍁🍁🍁🍁 🍁 Note: the Maple master branch has been created. Please consider whether your change
🍁🍁🍁🍁 should also be applied to Maple. If so, make another pull request against the
🍁🍁🍁🍁 open-release/maple.master branch, or ping @nedbat for help or questions.
🍁🍁
Please give your pull request a short but descriptive title.
Use conventional commits to separate and summarize commits logically:
https://open-edx-proposals.readthedocs.io/en/latest/oep-0051-bp-conventional-commits.html
Use this template as a guide. Omit sections that don't apply. You may link to information rather than copy it.
More details about the template are at openedx/openedx-proposals#180
(link will be updated when that document merges)
-->
## Description
cherry-picked 7aadf55 from master branch to make changes availabe in maple release.
## Supporting information
Relevant JIRA : https://openedx.atlassian.net/browse/BOM-2781
BTR issue: openedx/wg-build-test-release#105
Relevant JIRA : https://openedx.atlassian.net/browse/BOM-2781